package org.wukongcrm.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * 报废表
    */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "scrap")
public class Scrap implements Serializable {
    /**
     * 产品报废id
     */
    @TableId(value = "scrap_no", type = IdType.INPUT)
    private Integer scrapNo;

    /**
     * 仓库id
     */
    @TableField(value = "store_id")
    private Integer storeId;

    /**
     * 报废日期
     */
    @TableField(value = "scrap_time")
    private Date scrapTime;

    /**
     * 报废备注
     */
    @TableField(value = "scrap_notes")
    private String scrapNotes;

    /**
     * 审核状态
     */
    @TableField(value = "audit_start")
    private Integer auditStart;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

    /**
     * 负责人id
     */
    @TableField(value = "owner_user_id")
    private Integer ownerUserId;

    private static final long serialVersionUID = 1L;
}